package com.jeewms.www.tms;

import android.os.Bundle;
import android.os.Handler;
import android.widget.LinearLayout;

import com.android.volley.VolleyError;
import com.jeewms.www.tms.base.BaseActivity;
import com.jeewms.www.tms.bean.vm.LoginVm;
import com.jeewms.www.tms.constance.Constance;
import com.jeewms.www.tms.util.GsonUtils;
import com.jeewms.www.tms.util.SharedPreferencesUtil;
import com.jeewms.www.tms.util.StringUtil;
import com.jeewms.www.tms.volley.HTTPUtils;
import com.jeewms.www.tms.volley.VolleyListener;

import java.util.HashMap;
import java.util.Map;

import butterknife.BindView;
import butterknife.ButterKnife;

/**
 * Created by 13799 on 2018/6/7.
 */

public class WelComeActivity extends BaseActivity {


    @BindView(R.id.ll_root)
    LinearLayout llRoot;
    private int status;

    @Override
    protected int getTitleBarResId() {
        return -1;
    }

    @Override
    protected int getContentResId() {
        return R.layout.activity_linear;
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        // TODO: add setContentView(...) invocation
        ButterKnife.bind(this);
        llRoot.setBackgroundResource(R.drawable.welcome);
        Handler handler = new Handler();
        handler.postDelayed(new Runnable() {
            @Override
            public void run() {
                HomeActivity.show(WelComeActivity.this);
                finish();
            }
        }, 3000);
    }


}
